package com.jincp.image.compress;

import java.util.List;

/**
 * Created by jinchunping on 2018/7/11.
 */

public interface ImageCompressListener {
    /**
     * 压缩成功
     *
     * @param imagePathList 已经压缩图片
     */
    void onCompressSuccess(List<String> imagePathList);

    /**
     * 压缩失败
     *
     * @param imagePathList 压缩的图片
     * @param msg       失败的原因
     */
    void onCompressFailed(List<String> imagePathList, String msg);
}
